<%@ page contentType="text/html" language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib  uri="/struts-tags" prefix="s"%>
<jsp:include page="../include/_dwz_form_head.jsp" />
<!-- 容器表头，包括搜索内容 start-->
<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="projectmanagement/TaskManageList" method="post">
	<!-- searchBar start -->
	<div class="searchBar">
	<!-- 搜索内容书写有两种：  ul  和  table -->
			<!-- boutton subBar start -->
			
				<table class="searchContent">
					<tr>
						<td>
						任务名称：<input type="text" id="taskName" name="b_T_Ufp_TaskManager.taskName" value="${b_T_Ufp_TaskManager.taskName}"/>
						</td>
						<td>
						所属项目：<input type="text" id="respectiveProject" name="b_T_Ufp_TaskManager.respectiveProject" value="${b_T_Ufp_TaskManager.respectiveProject}"/>
						</td>
						<td>
						是否完成：<s:select label="" headerKey="" headerValue="--请选择--" list="#{1:'已完成',0:'未完成'}" name="b_T_Ufp_TaskManager.taskSpeed" cssStyle="height:22px;"/>
						</td>
					</tr>
				</table>
		<div class="subBar">
			<ul>
				  <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit">
                                   		 搜索
                                </button>
                            </div>
                        </div>
                    </li>
			</ul>
		</div>
			<!--boutton subBar end  -->
	</div>
	<!-- searchBar end -->
	</form>
</div>
<!-- 容器表头，包括搜索内容 end-->
<!-- 容器内容部分 start -->
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="projectmanagement/TaskManageDital" target="navTab"><span>添加</span></a></li>
			<li>
			<a title="确实要删除这些记录吗?" target="selectedTodo" rel="checkIds" href="projectmanagement/TaskManageDel" class="delete"><span>删除</span></a>
			</li>
			 <li class="line">
                line
            </li>
</ul>
	</div>
	<table class="table" width="100%" layoutH="123">
		<thead>
			<tr>
			   <th width="2%">
                    <input type="checkbox" name="checkIds" group="checkIds" class="checkboxCtrl">
                </th>
                <th width="3%" align="center">
              		序号        	
                </th>
				<th width="16%" align="left" orderField="task_name" <c:if test="${(pager.orderField)== 'task_name'}">class="${pager.orderDirection}"
				</c:if>>任务名称</th>
				<th width="9%" align="center" orderField="task_type" <c:if test="${(pager.orderField)== 'task_type'}">class="${pager.orderDirection}"
				</c:if>>任务类型</th>
				<th width="7%" align="center" orderField="sent_people" <c:if test="${(pager.orderField)== 'sent_people'}">class="${pager.orderDirection}"
				</c:if>>指派人</th>
				<th width="7%" align="center" orderField="accused_people" <c:if test="${(pager.orderField)== 'accused_people'}">class="${pager.orderDirection}"
				</c:if>>被指派人</th>
				<th width="17%" align="left" orderField="respective_project" <c:if test="${(pager.orderField)== 'respective_project'}">class="${pager.orderDirection}"
				</c:if>>所属项目</th>
				<th width="4%" align="center" orderField="priority" <c:if test="${(pager.orderField)== 'priority'}">class="${pager.orderDirection}"
				</c:if>>优先级</th>
				<th width="7%" align="center" orderField="task_start_time" <c:if test="${(pager.orderField)== 'task_start_time'}">class="${pager.orderDirection}"
				</c:if>>计划开始时间</th>
				<th width="7%" align="center" orderField="task_end_time" <c:if test="${(pager.orderField)== 'task_end_time'}">class="${pager.orderDirection}"
				</c:if>>计划结束时间</th>
				<th width="11%" align="center" orderField="Task_actual_end_time" <c:if test="${(pager.orderField)== 'Task_actual_end_time'}">class="${pager.orderDirection}"
				</c:if>>实际结束时间</th>
				<th width="5%" align="center" orderField="task_speed" <c:if test="${(pager.orderField)== 'task_speed'}">class="${pager.orderDirection}"
				</c:if>>进度</th>
			    <th width="5%" align="center">操作 </th>
			</tr>
		</thead>
		<tbody>
		<c:forEach items="${pager.pageRecords}" var="b_T_Ufp_TaskManager" varStatus="s">
		<tr target="sid_user" rel="1">
			  <td>
               <input name="checkIds" value="${b_T_Ufp_TaskManager.taskid}" type="checkbox">
              </td>
               	<td>${s.count +pager.pageSize*(pager.currentPage-1)}</td>
				<td title="${b_T_Ufp_TaskManager.taskName}"><a href="projectmanagement/taskManageRead?b_T_Ufp_TaskManager.taskid=${b_T_Ufp_TaskManager.taskid}&flag=1" target="navTab"><font color="blue">${b_T_Ufp_TaskManager.taskName}</font></a></td>
				<td>${b_T_Ufp_TaskManager.taskType}</td>
				<td>${b_T_Ufp_TaskManager.sentPeople}</td>
				<td>${b_T_Ufp_TaskManager.accusedPeople}</td>
				<td>
				<a title="查看项目" target="navTab" href="projectmanagement/ProjectmanagementReade?b_T_Flow_ProjectManagement.projectUuid=${b_T_Ufp_TaskManager.projectUuid}&moduleName=project&b_T_Ufp_TaskManager.taskSpeed=0">
				<font color="blue">
				${b_T_Ufp_TaskManager.respectiveProject}
				</font></a>
				</td>
				<td>${b_T_Ufp_TaskManager.priority}</td>
				<td>${b_T_Ufp_TaskManager.taskStartTime}</td>
				<td>${b_T_Ufp_TaskManager.taskEndTime}</td>
				<td>${b_T_Ufp_TaskManager.taskActualEndTime}</td>
				<td>
				<a href="systemsetting/MyWorkLogList?lookup=1&amp;flag=''&amp;taskid=${b_T_Ufp_TaskManager.taskid}" target="dialog" width="1170" height="450">
				<font color="red">${b_T_Ufp_TaskManager.taskSpeed}</font></a></td>
			    <td>
                    <a title="删除" target="ajaxTodo" href="projectmanagement/TaskManageDel?checkIds=${b_T_Ufp_TaskManager.taskid}" class="btnDel">删除</a>
                    <a title="编辑" target="navTab" href="projectmanagement/TaskManageDital?b_T_Ufp_TaskManager.taskid=${b_T_Ufp_TaskManager.taskid}&flag=2" rel="editMsg" class="btnEdit">编辑</a>
                </td>
                </tr>
                </c:forEach>
		</tbody>
	</table>
	<!-- foot start -->
	<div class="panelBar">
        <jsp:include page="../include/_dwz_form_bottom.jsp" />
    </div>
    <!-- foot end -->
</div>
<!-- 容器内容部分 end -->